package com.code.service;

import com.code.domain.Dish;
import com.code.domain.Type;

import java.util.List;

public interface DishService {
    Dish search(Integer dishId);
    int addDish(String dishName, double price , Type dishType ,String image);
    int deleteDish(Integer dishId);
    int updateDish(Dish dish);
    List<Dish> searchAll();
    List<Dish> searchByType(String dishType);
}
